package com.zzl.bonds.ticket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 票据审批流程表
 *
 * @author wztsl
 * @date 2021-11-30 14:13:19
 */
@Data
@ApidocModel
public class TicketProcessAddDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "票的id")
    private Integer ticketId;
    @ApidocModelProperty(description = "审批流程id")
    private Integer approveId;
    @ApidocModelProperty(description = "审批类型：1：开立，2：转让，3：融资，4兑付")
    private Integer approveType;
    @ApidocModelProperty(description = "审批流程状态:1 通过，2，拒绝")
    private Integer approveStatus;
    @ApidocModelProperty(description = "转让id")
    private Integer ticketTransferId;
    @ApidocModelProperty(description = "融资id")
    private Integer ticketFinaceId;
    @ApidocModelProperty(description = "兑付id")
    private Integer ticketCashId;
    @ApidocModelProperty(description = "其他id")
    private Integer ticketOtherId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人")
    private Integer creatorId;

}
